package com.jiale.ojsystem.judge;

import com.jiale.ojsystem.judge.codesandbox.modle.ExecuteCodeResponse;
import com.jiale.ojsystem.model.dto.question.JudgeCase;
import com.jiale.ojsystem.model.dto.question.JudgeConfig;
import com.jiale.ojsystem.model.dto.questionsubmit.JudgeInfo;
import com.jiale.ojsystem.model.entity.Question;
import com.jiale.ojsystem.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 判题策略上下文
 */
@Data
public class JudgeContext {
    /**
     * 判题配置
     */
    private JudgeConfig judgeConfig;
    /**
     * 输出信息
     */
    private List<String> outputList;
    /**
     * 输入信息
     */
    private List<String> inputList;
    /**
     * 判题信息
     */
    private JudgeInfo judgeInfo;
    /**
     * 判题用例
     */
    private List<JudgeCase> judgeCaseList;
    /**
     * 题目提交
     */
    private QuestionSubmit questionSubmit;
    /**
     * 消耗时间
     */
    private long costedTime;
    /**
     * 消耗内存
     */
    private long costedMemory;
    /**
     * 编程语言
     */
    private String language;
}
